package cn.iocoder.yudao.module.train.controller.admin.trade.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;
import java.math.BigDecimal;

@Schema(description = "管理后台 - 交易新增/修改 Request VO")
@Data
public class TradeSaveReqVO {

    @Schema(description = "交易ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "24572")
    private Long id;

    @Schema(description = "交易编号")
    private String tradeSn;

    @Schema(description = "微信用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1613")
    @NotNull(message = "微信用户ID不能为空")
    private Long wxUserId;

    @Schema(description = "支付金额")
    private BigDecimal payAmount;

    @Schema(description = "订单状态（0待支付/1已支付/2退款中/3部分退款/4全部退款/5已关闭）", example = "1")
    private Integer status;

    @Schema(description = "三方交易单号")
    private String tradeNo;

}
